package com.spark.market.api.mq;

import java.io.Serializable;

/**
 * @author zwd
 * @date 2021/6/27
 * @email zwd@hhh.com
 */
public class ItemStockMqMessage implements Serializable {
    private Integer ItemId;
    private Integer amount;
    private Integer userID;
    /**
     * 订单Id
     */
    private String  orderId;

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getItemId() {
        return ItemId;
    }

    public void setItemId(Integer itemId) {
        ItemId = itemId;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "ItemStockMqMessage{" +
                "ItemId=" + ItemId +
                ", amount=" + amount +
                ", userID=" + userID +
                ", orderId='" + orderId + '\'' +
                '}';
    }
}
